package cn.kk.librarysystem.pojo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/*
 *@author KK on 2022.10.14 20:11
 */
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Data
@Api(value = "图书类")
@ApiModel(value = "图书实体类",description = "这是学生类的描述")
public class Book{
    @ApiModelProperty(value = "主键ID",example = "11")
    private int id;
    @ApiModelProperty(value = "书名",example = "你好啊")
    private String bookname;
    @ApiModelProperty(value = "书本价格",example = "11.11")
    private double price;
    @ApiModelProperty(value = "学生id",example = "11")
    private int stuid;
    @ApiModelProperty(value = "书本状态",example = "0")
    private int status;
}
